
<div class="mfc myorder-list fl">
    {volist name="data" id="vo"}
    <div class="cell">
        <div class="card myorder-list-place">
            <div class="head">
                <p class="bsilk">
                    <span>{$vo.create_time}</span>
                    <span class="c-red fr">{$vo.distribution_type_title}</span>
                </p>
            </div>
            {volist name="vo.OrderGoods" id="vo2"}
            <div class="infor">
                <div class="icon">
                    <div class="sicon"><img src="{$vo2.single_pic}"></div>
                </div>
                <div class="info">
                    <p>{$vo2.title}</p>
                    <p class="tags"><span class="ray">{$vo2.attr_values}</span><span class="fr fa fa-times"> {$vo2.number}</span></p>
                    <p class="price c-red"><span class="fa fa-cny"> </span> <span class="fs12">{$vo2.price}</span></p>

                </div>
            </div>
            {/volist}
<!--            <div class="info">-->

<!--                <p>{$vo.goods_count}共件商品 合计：<span class="fa fa-cny">{$vo.order_price}</span></p>-->
<!--            </div>-->
            <div class="idenr">
                <p class="lh30">
                    <span class="fs08">订单编号：</span>

                    <span class="imark">{$vo.order_number}</span>
                    {if $vo.status == 1}
                    <button class="btnbox fr enter">
                        去支付
                    </button>
                    {/if}
                    {if ($vo.status == 3 and $vo.type_id == 2) && $l != 'tui'}
                    <button class="btnbox fr enter" onclick="wuliu('{$vo.order_number}')">
                        查看物流
                    </button>
                    {/if}
                    {if $l == 'tui' and ($vo.status == 2 || $vo.status == 3) or ($vo.status == 7 and $vo.type_id == 2)}
                    <button class="btnbox fr enter" onclick="tui({$vo.id})">
                        退款
                    </button>
                    {/if}
                </p>
                <p>{if $vo.distribution_type_id == 1}<span class="fs08">邮寄地址:
                    {$vo.prov}{$vo.city}{$vo.area}_{$vo.address}
                    {else/}
                    <span class="fs08" style="color: #f00">注意:统一1月18日院内提货</span>
                    {/if}</span>
                </p>
            </div>
        </div>
    </div>
    {/volist}
</div>
<script>

    function tui(order_id){
        window.location.href = "{:url('Order/tui')}?order_id=" + order_id;
    }

    function wuliu(order_number){

        window.location.href = "{:url('Index/express')}?order_number=" + order_number;
    }

</script>
